<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="col-sm-12 search-collapse">
	<form id="formId">
		<div class="select-list">
			<ul>
				<li>
					队名\组名：<input type="text" name="teamName"/>
				</li>
				<li>
					<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
					<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
				</li>
			</ul>
		</div>
	</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
	<!--<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:paiming:export">
		<i class="fa fa-download"></i> 导出
	</a>-->
</div>
			<div class="col-sm-12 select-table table-striped">
				<table id="bootstrap-table" data-mobile-responsive="true"></table>
			</div>
    <div th:include="include :: footer"></div>
    <script th:inline="javascript">
     /*   var editFlag = [[${@permission.hasPermi('system:meetingSystem:edit')}]];
        var removeFlag = [[${@permission.hasPermi('system:meetingSystem:remove')}]];*/
        var prefix = ctx + "system/paiming";

        $(function() {
            var options = {
                url: prefix + "/list",
              /*  createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",*/
				exportUrl: prefix + "/export",
                modalName: "排名",
		        showExport: true,
                columns: [{
		            checkbox: true
		        },
				{
					field : 'rank',
					title : '排名'

				},
				{
					field : 'teamName',
					title : '队组名称'
				},
				{
					field : 'scores',
					title : '总积分'
				}
			]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>